package cn.ibdsr.human.transfer;


import cn.ibdsr.human.core.check.Verfication;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @description:
 * @author: cdl
 * @email: iamcimon@qq.com
 * @date: 2021/6/24 16:14
 */
@ApiModel("用户登录DTO")
@Data
public class UserLoginDTO  implements Serializable {
    private static final long serialVersionUID=1L;
    /**
     * 用户账号
     */
    @ApiModelProperty(value = "用户账号",required = true)
    @NotEmpty(message = "用户账号不能为空" )
    private String account;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码",required = true)
    @NotEmpty(message = "密码不能为空" )
    private String password;

    /**
     * 系统类型：1求职者 2企业
     */
    @ApiModelProperty(value = "系统类型：1求职者 2企业",required = true)
    @NotNull(message = "系统类型不能为空" )
    private Integer sysType;
}
